[mysqld]
##  binlog文件名
log_bin=mysql-bin
## MYSQL实例id, 不能重复
server_id=1
user=mysql
character-set-server=utf8
default_authentication_plugin=mysql_native_password
secure_file_priv=/var/lib/mysql
expire_logs_days=7
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
max_connections=1000
wait_timeout = 31536000
interactive_timeout=31536000
skip-name-resolve
[client]
default-character-set=UTF8MB4
[mysql]
default-character-set=UTF8MB4